let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start");
                var _n131,
                    i =
                    (this && this.__extends) ||
                    ((_n131 = function n(t, e) {
                            return (_n131 =
                                Object.setPrototypeOf ||
                                ({
                                        __proto__: []
                                    }
                                    instanceof Array &&
                                    function(t, e) {
                                        t.__proto__ = e;
                                    }) ||
                                function(t, e) {
                                    for (var o in e) {
                                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                                    }
                                })(t, e);
                        }),
                        function(t, e) {
                            function o() {
                                this.constructor = t;
                            }
                            _n131(t, e),
                                (t.prototype =
                                    null === e ?
                                    Object.create(e) :
                                    ((o.prototype = e.prototype), new o()));
                        });
                Object.defineProperty(o, '__esModule', {
                    value: !0
                });
                var r = t('BattleInfo'),
                    a = t('MonsterCfg'),
                    s = t('PlayerMrg'),
                    c = t('ChapterDifficultyCfg'),
                    l = t('CivilizationMrg'),
                    u = (function(t) {
                        function e(e) {
                            var o = t.call(this) || this;
                            return o.init(a.MonsterCfg.ins.getData(e)), o;
                        }
                        return (
                            i(e, t),
                            (e.prototype.build = function() {
                                (this._hp = this.getCfgData('hp')),
                                (this._atk = this.getCfgData('atk')),
                                (this._def = this.getCfgData('def')),
                                (this._crit = this.getCfgData('crit')),
                                (this._solid = this.getCfgData('solid'));
                                var t = this.getCfgData('hpPer'),
                                    e = this.getCfgData('atkPer'),
                                    o = this.getCfgData('defPer'),
                                    n = s.PlayerMrg.ins.round.monsterGrowth;
                                if (1 != s.PlayerMrg.ins.chapter.type) {
                                    var i = c.ChapterDifficultyCfg.ins.getDifficultyData(
                                        s.PlayerMrg.ins.chapter.id,
                                        s.PlayerMrg.ins.round.round,
                                        l.CivilizationMrg.ins.id
                                    );
                                    i && (n = i.monsterGrowth);
                                }
                                n > 0 &&
                                    ((this._hp *= n),
                                        (this._atk *= n),
                                        (this._def *= n),
                                        (this._crit *= n),
                                        (this._solid *= n)),
                                    (this._hp = this._hpMax =
                                        Math.floor(this._hp * (1 + 0.01 * t))),
                                    (this._atk = Math.floor(this._atk * (1 + 0.01 * e))),
                                    (this._def = Math.floor(this._def * (1 + 0.01 * o)));
                            }),
                            Object.defineProperty(e.prototype, 'kind', {
                                get: function get() {
                                    return this.getCfgData('kind');
                                },
                                enumerable: !1,
                                configurable: !0
                            }),
                            Object.defineProperty(e.prototype, 'isBoss', {
                                get: function get() {
                                    return 2 == this.getCfgData('kind');
                                },
                                enumerable: !1,
                                configurable: !0
                            }),
                            e
                        );
                    })(r.BattleInfo);
                (o.default = u), console.log("end");
            module.exports =  e.exports;